Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: PDFs uploaded by "PDF transcript" feature were returnig 403 when attempting to download #32329

Merged
merged 10 commits into from
Jun 18, 2024

Conversation

KevLehman
Copy link
Contributor

@KevLehman KevLehman commented Apr 29, 2024

https://rocketchat.atlassian.net/browse/CORE-399

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

Added a new setting Restrict files access to users who can access room that controls file visibility. This new setting allows users that "can access a room" to also download the files that are there. This is specially important for users with livechat manager or monitor roles, or agents that have special permissions to view closed rooms, since this allows them to download files on the conversation even after the conversation is closed.
New setting is disabled by default and it is mutually exclusive with the setting Restrict file access to room members since this allows more types of users to download files.

Copy link
Contributor

dionisio-bot bot commented Apr 29, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Apr 29, 2024

🦋 Changeset detected

Latest commit: 7cc53ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 34 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/i18n Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/queue-worker Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/ui-client Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/model-typings Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/presence-service Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/api-client Patch
@rocket.chat/license Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/ddp-client Patch
@rocket.chat/models Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.49%. Comparing base (1bdffcd) to head (7cc53ae).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #32329      +/-   ##
===========================================
- Coverage    56.53%   56.49%   -0.04%     
===========================================
  Files         2484     2480       -4     
  Lines        54694    54644      -50     
  Branches     11286    11279       -7     
===========================================
- Hits         30921    30873      -48     
  Misses       21094    21094              
+ Partials      2679     2677       -2     
Flag Coverage Δ
e2e 56.06% <ø> (-0.11%) ⬇️
unit 72.26% <ø> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@KevLehman KevLehman added this to the 6.9 milestone Apr 30, 2024
@KevLehman KevLehman marked this pull request as ready for review April 30, 2024 19:33
@KevLehman KevLehman requested a review from a team as a code owner April 30, 2024 19:33
@scuciatto scuciatto modified the milestones: 6.9, 6.10 May 21, 2024
@scuciatto scuciatto added the stat: QA assured Means it has been tested and approved by a company insider label Jun 18, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Jun 18, 2024
@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label Jun 18, 2024
@scuciatto scuciatto added the stat: ready to merge PR tested and approved waiting for merge label Jun 18, 2024
@kodiakhq kodiakhq bot merged commit 3039968 into develop Jun 18, 2024
49 checks passed
@kodiakhq kodiakhq bot deleted the fix/upload-pdfs branch June 18, 2024 19:45
This was referenced Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants